package cn.geminis.crypto.cert.service.model;

import lombok.Data;

import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @author puddi
 */
@Data
public class CertSignRequest {

    private BigInteger serialNumber;
    private String subject;
    private LocalDateTime notBefore;
    private LocalDateTime notAfter;
    private byte[] publicKey;
    private List<byte[]> extensions = new ArrayList<>();
    private String keyType;
    private byte[] protectCert;
    private String protectPin;

}
